package com.cn.itcast.gjp.mapper;

import com.cn.itcast.gjp.domain.Ledger;
import com.cn.itcast.gjp.domain.QueryForm;

import java.util.List;

public interface LedgerMapper {
    void AddLedger(Ledger ledger);

    void DeleteLedger(Ledger ledger);

    void EditLedger(Ledger ledger);

    List<Ledger> queryAllLedger();

    List<Ledger> queryLedgerByForm(QueryForm form);

    List<Ledger> queryLedgerBySid(Integer sid);

    List<Ledger> queryAllLedgerByForm(QueryForm queryForm);
}
